<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>xilplmi: xplmi_gic_interrupts.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">xilplmi
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;"
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xplmi__gic__interrupts_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xplmi_gic_interrupts.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file is to handle the GIC interrupts. </p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who  Date        Changes
====  ==== ======== ======================================================-
1.00  ma   10/08/2018 Initial release
1.01  kc   04/09/2019 Added code to register/enable/disable interrupts
1.02  bsv  04/04/2020 Code clean up
1.03  bm   10/14/2020 Code clean up
1.04  bm   04/03/2021 Move task creation out of interrupt context
1.05  ma   07/12/2021 Minor updates to task related code
      bsv  08/02/2021 Code clean up to reduce code size
      ma   08/05/2021 Add separate task for each IPI channel
1.06  bsv  03/05/2022 Fix exception while deleting two consecutive tasks of
                      same priority
1.07  bm   07/06/2022 Refactor versal and versal_net code
1.08  ng   03/30/2023 Updated algorithm and return values in doxygen comments
2.00  ng   12/27/2023 Reduced log level for less frequent prints</pre><pre></pre><dl class="section note"><dt>Note</dt><dd></dd></dl>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga72a0125ca6a1fe2243397fe59a912f73"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga72a0125ca6a1fe2243397fe59a912f73">XPlmi_GicRegisterHandler</a> (u32 GicPVal, u32 GicPxVal, GicIntHandler_t Handler, void *Data)</td></tr>
<tr class="memdesc:ga72a0125ca6a1fe2243397fe59a912f73"><td class="mdescLeft">&#160;</td><td class="mdescRight">This will register the GIC handler.  <a href="group__xilplmi__server__apis.html#ga72a0125ca6a1fe2243397fe59a912f73">More...</a><br/></td></tr>
<tr class="separator:ga72a0125ca6a1fe2243397fe59a912f73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6f140142b7bceccfda3001345ddf7ca4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga6f140142b7bceccfda3001345ddf7ca4">XPlmi_GicIntrClearStatus</a> (u32 GicPVal, u32 GicPxVal)</td></tr>
<tr class="memdesc:ga6f140142b7bceccfda3001345ddf7ca4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This will clear the GIC interrupt.  <a href="group__xilplmi__server__apis.html#ga6f140142b7bceccfda3001345ddf7ca4">More...</a><br/></td></tr>
<tr class="separator:ga6f140142b7bceccfda3001345ddf7ca4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6e2f812d2b40f9c36675ab22ec78192a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga6e2f812d2b40f9c36675ab22ec78192a">XPlmi_GicIntrEnable</a> (u32 GicPVal, u32 GicPxVal)</td></tr>
<tr class="memdesc:ga6e2f812d2b40f9c36675ab22ec78192a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This will enable the GIC interrupt.  <a href="group__xilplmi__server__apis.html#ga6e2f812d2b40f9c36675ab22ec78192a">More...</a><br/></td></tr>
<tr class="separator:ga6e2f812d2b40f9c36675ab22ec78192a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3f6bfa66084293c76ec76b60d018a958"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga3f6bfa66084293c76ec76b60d018a958">XPlmi_GicIntrDisable</a> (u32 GicPVal, u32 GicPxVal)</td></tr>
<tr class="memdesc:ga3f6bfa66084293c76ec76b60d018a958"><td class="mdescLeft">&#160;</td><td class="mdescRight">This will disable the GIC interrupt.  <a href="group__xilplmi__server__apis.html#ga3f6bfa66084293c76ec76b60d018a958">More...</a><br/></td></tr>
<tr class="separator:ga3f6bfa66084293c76ec76b60d018a958"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga181880f216f7b6be3b58b920b2ba89fb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#ga181880f216f7b6be3b58b920b2ba89fb">XPlmi_GicIntrHandler</a> (void *CallbackRef)</td></tr>
<tr class="memdesc:ga181880f216f7b6be3b58b920b2ba89fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is handler for GIC interrupts.  <a href="group__xilplmi__server__apis.html#ga181880f216f7b6be3b58b920b2ba89fb">More...</a><br/></td></tr>
<tr class="separator:ga181880f216f7b6be3b58b920b2ba89fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa8a338ceafbc2b9234ebcdaa80c7f5a1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__xilplmi__server__apis.html#gaa8a338ceafbc2b9234ebcdaa80c7f5a1">XPlmi_GicIntrAddTask</a> (u32 Index)</td></tr>
<tr class="memdesc:gaa8a338ceafbc2b9234ebcdaa80c7f5a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function adds the GiC task handler to the TaskQueue.  <a href="group__xilplmi__server__apis.html#gaa8a338ceafbc2b9234ebcdaa80c7f5a1">More...</a><br/></td></tr>
<tr class="separator:gaa8a338ceafbc2b9234ebcdaa80c7f5a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
